IndexConfig: Configure maxLimit from Config An index implementation may not have an inherent upper bound to the limit, but administrators may nonetheless want to restrict the maximum query size at the server level for performance reasons. Change-Id: Ic1f506e9857413ec860fe97785bff9e76b817db0
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt index 61c764a..797178b 100644 --- a/Documentation/config-gerrit.txt +++ b/Documentation/config-gerrit.txt
@@ -2205,6 +2205,14 @@ + Defaults to true. +[[index.maxLimit]]index.maxLimit:: ++ +Maximum limit to allow for search queries. Requesting results above this +limit will truncate the list (but will still set `_more_changes` on +result lists). Set to 0 for no limit. ++ +Defaults to no limit. + ==== Lucene configuration Open and closed changes are indexed in separate indexes named